home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Aventura
/
FireMan.swf
/
scripts
/
frame_1154
/
PlaceObject2_276_1146
/
CLIPACTIONRECORD onClipEvent(load).as
< prev
Wrap
Text File
|
2008-09-12
|
2KB
|
75 lines
onClipEvent(load){
ARRIBA = _root.ARRIBA;
DER = _root.DER;
IZQ = _root.IZQ;
SHOOT = _root.SHOOT;
SLIDEKEY = _root.SLIDEKEY;
if(_root.posY && !_root.died)
{
_Y = _root.posY;
}
if(_root.died)
{
_root.currentdamage = 0;
}
_root.died = false;
GRIDSIZE = _root.GRIDSIZE;
mapa = eval(_root.mapa);
shoot1 = eval(_root.shoot1);
vforcei = 3;
vforce = 8;
hforce = 5;
hforcei = 1;
horizontal = 0;
vertical = 8;
MAXVERTICAL = 15;
MAXJUMP = 38;
friction = 0.5;
gravity = 0.6;
accel = 1.6;
rising = false;
falling = true;
lastX = _X;
lastY = _Y;
platform = null;
plataforma = false;
scrolling = false;
platformscroll = 0;
topeizq = false;
justshoot = false;
shooting = false;
slide = false;
slidereleased = true;
slidetimer = 0;
SLIDETIME = 10;
keys = true;
upreleased = true;
abletoshoot = true;
blast = new Sound();
blast.attachSound("shoot02");
salto = new Sound();
salto.attachSound("salto");
landing = new Sound();
landing.attachSound("landing");
barrida = new Sound();
barrida.attachSound("barrida");
accel2 = 1.1;
tornado = false;
vforce2 = 0.005;
soundtrigged = false;
u = 0;
victory = false;
death = false;
barra = eval(_root.bheroe);
MAXDAMAGE = barra._totalframes;
hitted = false;
flashing = false;
hitable = false;
FLASHTIME = 10;
timerdamage = 0;
timerinvisible = 0;
INVISIBLETIME = 20;
invisible = false;
DAMAGE = 0;
}